const article = require('../controllers/article')
module.exports = (router)=>{
  router.get("/article/list",article.list)
  router.post("/article/add",article.add)
  router.get("/article/detail",article.detail)
  router.post("/article/edit",article.edit)
  router.get("/article/class/list",article.classList)
  router.post("/article/class/add",article.classAdd)
  router.post("/article/class/edit",article.classEdit)
  router.post("/article/class/del",article.classDel)
  router.post("/article/del",article.del)
}